package com.guapi.repository;

import com.guapi.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends MongoRepository<User,String> {

//    User findUserById(String username);

    User findUserById(String id);

    User findUserByUsername(String username);

}


